package com.ruoyi.api.abuwx.service.impl;

import com.ruoyi.abuwx.domain.AbuwxQuestionChoice;
import com.ruoyi.abuwx.service.IAbuwxQuestionChoiceService;
import com.ruoyi.api.abuwx.service.ICChoiceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zouhuu
 * @description 客户端题目模块 服务层
 * @date 2022/06/29 17:48:09
 */
@Service
public class ChoiceServiceImpl implements ICChoiceService {

    @Autowired
    private IAbuwxQuestionChoiceService iAbuwxQuestionChoiceService;





    /**
     * 根据题目ID查询题目信息
     */
    @Override
    public List<AbuwxQuestionChoice> selectSiteChestInfo(AbuwxQuestionChoice abuwxQuestionChoice) {

        List<AbuwxQuestionChoice> abuwxQuestionCategories = iAbuwxQuestionChoiceService.selectAbuwxQuestionChoiceList(abuwxQuestionChoice);
        return abuwxQuestionCategories;
    }

}
